package com.entity;

import lombok.Data;

import java.util.Date;

@Data
public class BorrowBookVo {

    private Integer id;
    private Integer uid;
    private Integer bid;
    private Date borrowTime;

    private String bookname;

    private String isbn;

    private String author;
    private Integer page;
    private Integer limit;
    private String username;

    private Integer pageStart;

    public void setPageStart(int page, int limit) {
        pageStart = (this.page - 1) * this.limit;
    }


}
